package com.dayu.finecomm.aop.adapt.mongo;

import com.mongodb.BasicDBObject;

/**
 * AOP日志记录基本字段
 * 
 * @author XuJialiang
 * @since 2017-11-10 14:45:12
 * @version V1.0.0
 */
public class AopBasic<T extends AopBasic<T>> extends BasicDBObject {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	public static final String FIELD_ID = "_id";

	/**
	 * 等级
	 */
	public static final String FIELD_LEVEL = "level";

	public String getId() {

		return getString(FIELD_ID);
	}

	public void setId(String _id) {
		put(FIELD_ID, _id);
	}

	public String getLevel() {
		return getString(FIELD_LEVEL);
	}

	public void setLevel(String level) {

		put(FIELD_LEVEL, level);
	}

}